.PHONY: all
all:
	@cd complie_server;\
	make;\
	cd -;\
	cd oj_server;\
	make;\
	cd -;

# 打包
.PHONY:output
output:
	@mkdir -p output/complie_server;\
	mkdir -p output/oj_server;\
	cp -rf complie_server/complie_server output/complie_server;\
	cp -rf complie_server/temp output/complie_server;\
	cp -rf oj_server/conf output/oj_server/;\
	cp -rf oj_server/lib output/oj_server/;\
	cp -rf oj_server/questions output/oj_server/;\
	cp -rf oj_server/template_html output/oj_server/;\
	cp -rf oj_server/wwwroot output/oj_server/;\
	cp -rf oj_server/oj_server output/oj_server/;

.PHONY:clean
clean:
	@cd complie_server;\
	make clean;\
	cd -;\
	cd oj_server;\
	make clean;\
	cd -;\
	rm -rf output;

# @符号的表示不显示该执行的语句
# \表示续行


